aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTe.../[method:canSerializeModuleWithFunctions(org.shedlang.compiler.testing.snapsho...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-06-24 21:19:17 +0100
committerMichael Williamson <mike@zwobble.org>2023-06-24 21:19:17 +0100
commit812f1c44f064c797687e739b8c722d9f528ecef6 (patch)
tree8142c660b9242808944e0490795a3c3c24613396 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithFunctions(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent1a43e1686bd55f5607459a80ff3cc8e34bbfde70 (diff)
Add names for functions
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithFunctions(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithFunctions(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected14
1 files changed, 8 insertions, 6 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithFunctions(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithFunctions(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 983a04d5..e79d9a4e 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithFunctions(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithFunctions(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -7,13 +7,15 @@ Type[2]:
- type[0] (f32, f64) -> i32
- type[1] (f32) -> i64
Function[2]:
- - func[0] sig=0
- - func[1] sig=1
+ - func[0] sig=0 <f1>
+ - func[1] sig=1 <f2>
Code[2]:
- - func[0] size=8
- - func[1] size=6
+ - func[0] size=8 <f1>
+ - func[1] size=6 <f2>
Custom:
- name: "name"
+ - func[0] <f1>
+ - func[1] <f2>
- func[0] local[0] <paramA>
- func[0] local[1] <paramB>
- func[0] local[2] <localA>
@@ -23,12 +25,12 @@ Custom:
Code Disassembly:
-00002f func[0]:
+00002f func[0] <f1>:
000030: 01 7e | local[2] type=i64
000032: 01 7c | local[3] type=f64
000034: 41 00 | i32.const 0
000036: 0b | end
-00003c func[1]:
+00003c func[1] <f2>:
00003d: 01 7e | local[1] type=i64
00003f: 42 00 | i64.const 0
000041: 0b | end \ No newline at end of file